Element.DynProperties[PUT]



DynProperties(bsPath As String,vValue As Variant)

Parameters

bsPath As String
A String which defines the Property.

Example: "NetAktive"
vValue As Variant
Returns a variant value depending to the property, it can be a boolean, a long, or a whole object.
ED
avaliable
RT
avaliable

Remarks

With DynProperties it is possible to get access to additional Properties/Methods of Objects.




Sample:



Sub SetDynProp()

	'Sample: Set the Network Aktive Flag of the Project.

	MyWorkspace.ActiveDocument.DynProperties("NetActive") = True

	'also set a computer as server...

	MyWorkspace.ActiveDocument.DynProperties("NetServer") = "COMPUTERNAME"

End Sub

See Also

Element